import request from "@/utils/request";

export const loginApi = (data) =>
  request({
    url: "/index/login",
    method: "POST",
    data,
  });

export const getInfoApi = () =>
  request({
    url: "/index/userinfo",
    method: "POST",
  });